package com.yzsj.socket.business.service.impl;

import com.yzsj.socket.business.dao.ClassificationDao;
import com.yzsj.socket.business.domain.vo.ClassificVO;
import com.yzsj.socket.business.domain.vo.ClassificationVO;
import com.yzsj.socket.business.service.ClassificationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


@Service
public class ClassificationServiceImpl implements ClassificationService {
    @Autowired
    private ClassificationDao classificationDao;

    @Override
    public ClassificationVO get(Integer acId) {
        return classificationDao.get(acId);
    }

    @Override
    public List<ClassificationVO> list(Map<String, Object> map) {
        return classificationDao.list(map);
    }

    @Override
    public int count(Map<String, Object> map) {
        return classificationDao.count(map);
    }

    @Override
    public int save(ClassificationVO classification) {
        return classificationDao.save(classification);
    }

    @Override
    public int update(ClassificationVO classification) {
        return classificationDao.update(classification);
    }

    @Override
    public int remove(Integer acId) {
        return classificationDao.remove(acId);
    }

    @Override
    public int batchRemove(Integer[] acIds) {
        return classificationDao.batchRemove(acIds);
    }

    @Override
    public List<ClassificationVO> getEquipmentSituation() {
        return classificationDao.getEquipmentSituation();
    }

}
